<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>设备检修列表页</title>
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/easyui.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/color.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/icon.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/form.css'}">
</head>
<script type="text/javascript">
	var opt='';
	#{my.tags.authority Auth:REPAIR_VIEW}
	opt+='<a href="javascripts: void();" onclick="viewRepair(\'{param}\')" class="a_control">详情</a>&nbsp;';
	#{/my.tags.authority}
	#{my.tags.authority Auth:REPAIR_COPY}
	opt+='<a href="javascripts: void();" onclick="copyRepair(\'{param}\')" class="a_control">复制</a>&nbsp;';
	#{/my.tags.authority}
	#{my.tags.authority Auth:REPAIR_DEL}
	opt+='<a href="javascripts: void();" onclick="delRepair(\'{param}\')" class="a_control">删除</a>&nbsp;';
	#{/my.tags.authority}
	#{my.tags.authority Auth:REPAIR_EDIT}
	opt+='<a href="javascripts: void();" onclick="edit(\'{param}\')" class="a_control">编辑</a>';
	#{/my.tags.authority}
	
</script>
<body>
<div id="divform" class="form_group">
	<form id="form" method="post">
		<div class="form_group">
		<div class="col-xs-3"><span class="word">设备编号:</span><input type="text" class="form-control" id="deviceid" name="deviceid"></input></div>
			<div class="col-xs-3"><span class="word">设备名称:</span><input type="text" class="form-control" id="devicename" name="devicename"></input></div>
			<div class="col-xs-3"><input type="button" id="serbutton" class="button" value="搜索" ></div>
		</div>
	</form>
</div>
<div style="width:100%;height:100%" class="col-xs_12">
	<table id="listRepair"></table>
</div>
<div id="tb">
	#{my.tags.authority Auth:REPAIR_ADD}
	<a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="addRepair()">添加</a>
	#{/my.tags.authority}
	#{my.tags.authority Auth:REPAIR_BETCHDEL}
	<a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="betchDel()">批量删除</a>
	#{/my.tags.authority}
	#{my.tags.authority Auth:REPAIR_EXPORT}
	<a class="easyui-linkbutton" iconCls="icon-export" plain="true" onclick="exportXls()">导出全部</a>
	#{/my.tags.authority}
</div>
</body>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery-1.8.2.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/common.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery.easyui.min.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/datagrid-detailview.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/easyui-lang-zh_CN.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/dateFormat.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/RepairController/repairList.js'}"></script>
</html>